package com.nekonomics
package api.dto.util

import domain.detail.SkuSpecDetail

object SkuSpecUtil {
  def fmtSpecs(specs: List[SkuSpecDetail]): String = {
    val specsStr = specs.map(_.value).mkString(";")
    if !specsStr.isBlank then specsStr else "默认"
  }

}
